import { createRouter, createWebHistory } from "vue-router";

import children from '../views/chuanzhi/index.vue'
import mmmm from '../views/mmmm/index.vue'
import routerx from '../views/router/index.vue'

const routes: Array<any> = [
  { path: "/children", name: 'children', component: children },
  { path: "/mmmm", name: 'mmmm', component: mmmm },
  { path: "/routerx", name: 'routerx', component: routerx }

  // { path: "/children", name: 'children', component: () => import("../views/chuanzhi/children/index.vue") }
]

const router = createRouter({
  history: createWebHistory(),
  routes
})

export default router